# Copyright (c) 2017 Presto Labs Pte. Ltd.
# Author: xguo, leon

from coin.exchange.base.rest.private_queryer_base import PrivateQueryerBase
from coin.exchange.base.rest.futures_private_queryer_context_base \
    import FuturesPrivateQueryContextBase


class _BitflyerPrivateQueryContext(FuturesPrivateQueryContextBase):
  pass


class BitflyerPrivateQueryer(PrivateQueryerBase):
  def _init_context(self, ioloop):
    assert self._context is None
    self._context = _BitflyerPrivateQueryContext(self._async_private_client,
                                                 ioloop,
                                                 self._publisher,
                                                 self._logger,
                                                 self._product,
                                                 self._period)
